﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CH01_03
{
    public partial class CH01_03 : Form
    {
        public CH01_03()
        {
            InitializeComponent();
        }

        private void forwardButton_Click(object sender, EventArgs e)
        {
            this.infoDisplay.Text = "AGV is going forward...";
        }

        private void stopButton_Click(object sender, EventArgs e)
        {
            this.infoDisplay.Text = "AGV STOP.";
        }

        private void backwardButton_Click(object sender, EventArgs e)
        {
            this.infoDisplay.Text = "AGV is going backward...";
        }

        private void leftButton_Click(object sender, EventArgs e)
        {
            this.infoDisplay.Text = "AGV is turning left...";
        }

        private void rightButton_Click(object sender, EventArgs e)
        {
            this.infoDisplay.Text = "AGV is turning right...";
        }
    }
}
